package iotwisp.school.user.service;

import iotwisp.base.orm.BaseDao;
import org.hibernate.Criteria;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import iotwisp.school.user.entity.Permission;
import iotwisp.school.user.qo.PermissionQO;

@Service
@Transactional
public class PermissionService extends BaseDao<Permission, PermissionQO> {


	@Override
	protected Criteria buildCriteria(Criteria criteria, PermissionQO qo) {
		return criteria;
	}

	@Override
	protected Class<Permission> getEntityClass() {
		return Permission.class;
	}

}
